package lec03.pm.v1;

public class Test {

	public static void main(String[] args) {
		Circle circle=new Circle(5);
		Triangle triangle=new Triangle(3,4,5);
		Rectangle rectangle=new Rectangle(5,10);
		double cArea=circle.getArea();
		double tArea=triangle.getArea();
		double rArea=rectangle.getArea();
		System.out.println(cArea+tArea+rArea);		
	}
}
